<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>注册</title>
</head>
<body>
<form action="/JavaEE_homework/login"method="post">
  <label for="fname">用户名</label>
  <input type="text" id="UserName" name="UserName"><br><br>
  <label for="lname">密码</label>
  <input type="password" id="Password" name="Password"><br><br>
  <input type="submit" formmethod="post" formaction="login" value="登陆">
   <input type="submit" formmethod="post" formaction="register" value="注册">
</form>
</body>
</html>